import React, { Component } from 'react'
import Registe from './Registe'
import Login from './Login'
import withCommon from './Common'
// 注意: 其实WithLogin就是Common组件
const WithLogin = withCommon(Login)
const WithRegiste = withCommon(Registe)
export default class App extends Component {
  render() {
    return (
      <div>
        <WithLogin xxx={1} yyy={2}></WithLogin>
        <WithRegiste></WithRegiste>
      </div>
    )
  }
}
